package com.ruoyi.manager.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.entity.concat.ITimeEntity;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.Entity;

/**
 * 服务类型 不存在增删改对象 mg_service_type
 * 
 * @author ruoyi
 * @date 2023-12-13
 */
public class MgServiceType extends Entity implements ITimeEntity<Long>
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String typeName;

    /** 0, 不启用; 1,启用 */
    @Excel(name = "0, 不启用; 1,启用")
    private Long enabled;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setEnabled(Long enabled) 
    {
        this.enabled = enabled;
    }

    public Long getEnabled() 
    {
        return enabled;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("typeName", getTypeName())
            .append("enabled", getEnabled())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
